package org.example.DesignPatterns.Adapter;

/**
 * @description:
 * @author: farprt
 * @create: 2022-09-18 14:02
 **/
public class Adapter implements TriplePin{

    private DualPin dualPinDevice;

    public Adapter(DualPin dualPinDevice){
        this.dualPinDevice=dualPinDevice;
    }

    @Override
    public void electrify(int l, int n, int e) {
        dualPinDevice.electrify(l,n);
    }
}